﻿<local:BaseDataVisualizer
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"	
	x:Class="BrainTechLLC.Silverlight.ClientApplication.ShowLocationEdges">    
        <Grid x:Name="LayoutRoot" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Margin="0,0,0,0">
            <ListBox Height="Auto" HorizontalAlignment="Stretch" x:Name="lstLocationEdges" VerticalAlignment="Stretch" Width="Auto"
                         Style="{StaticResource ListBoxStyle1}" ItemContainerStyle="{StaticResource ListBoxItemStyle1}"
                         Margin="0,0,0,0" Padding="0,0,0,0" BorderThickness="0,0,0,0">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <local:DataVisualizer x:Name="editLocationEdge" DataToVisualize="{Binding Mode=OneWay}" local:WindowContainer.IsOpen="False" Loaded="Grid_Loaded" 
                                          Template="{StaticResource WinContainer}" VisualizerName="EditLocationEdge" IsCollection="False"
                                          Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" 
                                          DescriptionTextString="Location Edge" HeaderBackground="#FF004409" WindowBorder="#FFA81301" WindowlessMode="True" />
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
        </Grid>    
</local:BaseDataVisualizer>